package com.jr.service.impl;

import com.jr.entry.Food;
import com.jr.mapper.FoodMapper;
import com.jr.service.FoodService;
import org.omg.CORBA.PRIVATE_MEMBER;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.ArrayList;

@Service
public class FoodServiceImpl implements FoodService {
    @Autowired
    private FoodMapper foodMapper;


    @Override
    public ArrayList<Food> findFood(Food food) {
        return foodMapper.selectFood(food);
    }
}
